package com.brightfuture.chrms.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 人员;人员表
 *
 * @author Victor
 * @date 2024-02-03 21:24:50
 */
@Data
@TableName("person_attendance")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "person_attendance")
public class PersonAttendanceEntity extends Model<PersonAttendanceEntity> {

	/**
	* 人员考勤ID
	*/
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description="人员考勤ID")
   private Long attenId;
	/**
	* 人员ID
	*/
	@Schema(description="人员ID")
   private Long perId;
	/**
	* 考勤项目ID
	*/
	@Schema(description="考勤项目ID")
   private Long itemId;
	/**
	* 考勤结果
	*/
	@Schema(description="考勤结果")
   private String value;
	/**
	* 租户号
	*/
	@Schema(description="租户号")
   private Long tenantId;
	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
	@Schema(description="创建人")
   private Long createBy;
	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
	@Schema(description="创建时间")
   private LocalDateTime createTime;
	/**
	* 更新人
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@Schema(description="更新人")
   private Long updateBy;
	/**
	* 更新时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@Schema(description="更新时间")
   private LocalDateTime updateTime;
	/**
	* 删除标识
	*/
  @TableLogic
	@TableField(fill = FieldFill.INSERT)
	@Schema(description="删除标识")
   private String delFlag;
}
